#pragma once

#include "Preferences.h"

class TagPreferences : public PreferencesBlock{
public:
	TagPreferences();
	void serialize(Archive& ar);

	bool shallBeScanned(const char* fileName) const;
	bool skipDirectory(const char* justName) const;
	std::string ctagsExecutable();
protected:
	std::string fileTypes_;
	
	std::string skipDirectories_;
	
	typedef std::vector<std::string> Masks;
	Masks skipDirectoriesList_;

	std::string ctagsExecutable_;
	bool generateTagFiles_;
};

extern TagPreferences tagPreferences;
